package org.example.securitydemo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import javax.swing.*;

@SpringBootApplication
@MapperScan("org.example.securitydemo.mapper")
public class SecurityDemoApplication {

    public static void main(String[] args) {
        // SpringApplication.run(SecurityDemoApplication.class, args);
        SpringApplication app = new SpringApplication(SecurityDemoApplication.class);
        // 可以关闭springboot启动横幅
        app.setBannerMode(Banner.Mode.OFF);
        app.run(args);
    }

}
